parent
03782bdda9
commit
a7b5b92c62
@ -11,9 +11,6 @@ on:
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
config: [release_64bit, debug_64bit]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -25,18 +22,14 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
cd projects/make && make -f wren_cli.make config=${{ matrix.config }} -j$(nproc)
|
||||
cd projects/make && make -f wren_cli.make config=release_64bit -j$(nproc)
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
if [ "${{ matrix.config }}" = "debug_64bit" ]; then
|
||||
python3 util/test.py --suffix=_d
|
||||
else
|
||||
python3 util/test.py
|
||||
fi
|
||||
python3 util/test.py
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wren-cli-linux-${{ matrix.config }}
|
||||
name: wren-cli-linux-release_64bit
|
||||
path: bin/wren_cli*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user