Skip to content

Commit

Permalink
GHI #20 Forgot presets and add docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed Nov 7, 2023
1 parent 25e3ee7 commit 83d9828
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/test-warning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,16 @@ jobs:
preset: patomic-ci-unix-clang-ansi
- platform: linux-clang-x86_64
os: ubuntu-latest
preset: patomic-ci-unix-clang
- platform: linux-clang-ansi-x86_64
os: ubuntu-latest
preset: patomic-ci-unix-clang-ansi
- platform: linux-gcc-x86_64
os: ubuntu-latest
preset: patomic-ci-unix-gcc
- platform: linux-gcc-ansi-x86_64
os: ubuntu-latest
preset: patomic-ci-unix-gcc-ansi
# build-shared -> cmake-build-shared
- build-shared: static
cmake-build-shared: OFF
Expand Down Expand Up @@ -122,6 +126,16 @@ jobs:
with:
platforms: arm64

- name: Check uname
- name: Set up xGcc
run: |
apt install g++-11-aarch64-linux-gnu
apt install g++-11-multilib
- name: Compile Hello World
run: |
echo "#include <stdio.h>\nint main() { printf("Hello, world!\n"); }\n" >> test.c
gcc-11-aarch64-linux-gnu test.c -o test
- name: Run Hello World
run: |
docker run --rm arm64v8/alpine uname -a
docker run --rm arm64v8/alpine ./test

0 comments on commit 83d9828

Please sign in to comment.