Skip to content

Commit

Permalink
Update the Ubuntu version used as part of build and test jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dwai-wai committed Dec 13, 2024
1 parent 7ce3586 commit 5bba510
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: build

on:
push:
paths:
- "src/**"
- "test/**"
- "tools/**"
workflow_dispatch:
push:
paths:
- "src/**"
- "test/**"
- "tools/**"
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- run: |
mkdir -p build
cd build
cmake ..
make
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: egor-tensin/setup-clang@v1
with:
version: latest
platform: x64
- run: |
mkdir -p build
cd build
cmake ..
make
46 changes: 23 additions & 23 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: test

on:
push:
paths:
- "src/**"
- "test/**"
- "tools/**"
workflow_dispatch:
push:
paths:
- "src/**"
- "test/**"
- "tools/**"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: egor-tensin/setup-clang@v1
- uses: ConorMacBride/install-package@v1
with:
apt: valgrind
version: latest
platform: x64
- run: |
mkdir -p build
cd build
cmake -DBUILD_JSD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug ..
make
make test
env CTEST_OUTPUT_ON_FAILURE=1 make -d memcheck
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: egor-tensin/setup-clang@v1
- uses: ConorMacBride/install-package@v1
with:
apt: valgrind
version: latest
platform: x64
- run: |
mkdir -p build
cd build
cmake -DBUILD_JSD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug ..
make
make test
env CTEST_OUTPUT_ON_FAILURE=1 make -d memcheck

0 comments on commit 5bba510

Please sign in to comment.