Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 21, 2023
1 parent b795e7a commit fb7c431
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:

test:
needs: setup
runs-on: ubuntu-20.04
strategy:
matrix:
optimization: ['', -cstrict]
os: [ubuntu-20.04, macos-11]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Restore Cache
uses: actions/cache/restore@v3
Expand All @@ -60,6 +60,7 @@ jobs:
- name: Setup V
uses: vlang/setup-v@v1.3
- name: Setup Dependencies
if: runner.os == 'Linux'
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libcurl4-openssl-dev
Expand All @@ -69,15 +70,15 @@ jobs:
with:
timeout_minutes: 3
max_attempts: 3
command: v -cg ${{ matrix.optimization }} test ${{ env.MOD_PATH }}
command: v -cg test ${{ env.MOD_PATH }}

different-compilers:
needs: test
runs-on: ubuntu-20.04
strategy:
matrix:
compiler: [gcc, clang]
optimization: ['', -prod]
optimization: ['', -prod, -cstrict]
fail-fast: false
steps:
- name: Restore Cache
Expand Down

0 comments on commit fb7c431

Please # to comment.