2022-10-14 10:31:26 +00:00
|
|
|
name: build and run tests
|
2023-09-06 20:21:15 +00:00
|
|
|
|
2022-10-14 10:31:26 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ mob ]
|
2023-09-06 20:21:15 +00:00
|
|
|
|
2022-10-14 10:31:26 +00:00
|
|
|
jobs:
|
2023-09-06 20:21:15 +00:00
|
|
|
test-x86_64-linux:
|
2022-10-14 13:01:54 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2022-10-14 10:31:26 +00:00
|
|
|
steps:
|
2023-09-06 20:21:15 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: make & test tcc
|
|
|
|
run: ./configure && make && make test -k
|
2022-10-14 10:31:26 +00:00
|
|
|
|
2023-09-06 20:21:15 +00:00
|
|
|
test-x86_64-osx:
|
2022-11-12 13:21:17 +00:00
|
|
|
runs-on: macos-11
|
2022-10-14 10:31:26 +00:00
|
|
|
steps:
|
2023-09-06 20:21:15 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: make & test tcc
|
|
|
|
run: ./configure && make && make test -k
|
2022-10-14 10:31:26 +00:00
|
|
|
|
2023-09-06 20:21:15 +00:00
|
|
|
test-x86_64-win32:
|
|
|
|
runs-on: windows-2019
|
2022-10-14 10:31:26 +00:00
|
|
|
steps:
|
2023-09-06 20:21:15 +00:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: make & test tcc
|
|
|
|
shell: cmd
|
2022-10-14 10:31:26 +00:00
|
|
|
run: |
|
2023-09-06 20:21:15 +00:00
|
|
|
set MSYS2_PATH_TYPE=inherit
|
|
|
|
set MSYSTEM=MINGW64
|
|
|
|
set CHERE_INVOKING=yes
|
|
|
|
C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k"
|