add build step to hero_build_s3.yml workflow

This commit is contained in:
2024-12-30 18:15:28 +02:00
parent 39838b70f9
commit 34fc76c521

View File

@@ -1,12 +1,10 @@
name: Test Hero & Release to S3
name: Build Hero & Run tests
permissions:
contents: write
on:
push:
branches: ["development","main"]
workflow_dispatch:
jobs:
@@ -57,6 +55,14 @@ jobs:
sudo systemctl start redis-server
redis-cli ping
- name: Build Hero
run: |
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
v -cg -enable-globals -w -n cli/hero.v
# else if [ "${{ matrix.os }}" = "macos-latest" ]; then
# v -w -cg -gc none -no-retry-compilation -cc tcc -d use_openssl -enable-globals cli/hero.v
fi
- name: Do all the basic tests
run: ./test_basic.vsh