This commit is contained in:
parent
cb4c20f071
commit
10c2f3ccf1
1 changed files with 12 additions and 1 deletions
|
|
@ -8,10 +8,21 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: lisyarus/psemek:package-linux
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: |
|
||||||
|
mkdir build && cd build
|
||||||
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DPSEMEK_BUILD_TESTS=ON -DCMAKE_PREFIX_PATH="/home/sdl2/install"
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
cmake --build . -j
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
echo "Replace with your real test command"
|
./tools/test/psemek-run-tests
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue