update ci
This commit is contained in:
@@ -7,20 +7,13 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: Build and Test
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v4
|
- uses: https://codeberg.org/mlugg/setup-zig@v2
|
||||||
|
- run: |
|
||||||
- name: Setup Zig
|
|
||||||
uses: https://codeberg.org/mlugg/setup-zig@v2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y gcc make libcriterion-dev valgrind
|
sudo apt-get install -y gcc make libcriterion-dev valgrind
|
||||||
|
- run: make test
|
||||||
- name: Build and run tests
|
|
||||||
run: make test
|
|
||||||
|
|||||||
Reference in New Issue
Block a user