mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-01 04:20:09 +08:00
086870addd
configure: - option --targetos=... for cross build - cleanup win32/build-tcc.bat: - option -b <bindir> - make 'libtcc1.a' and cross-prefix-libtcc1.a (same convention as with makefile) Makefile: - streamline tcov-tests, help, etc. workflow/build.xml: simplify - using "windows-2019" runner (instead of windows-latest) because its msys seems more complete and has no problems with the 96_nodata_wanted.test either. Changelog,TODO,USES,tcc-doc.texi: update
33 lines
712 B
YAML
33 lines
712 B
YAML
name: build and run tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ mob ]
|
|
|
|
jobs:
|
|
test-x86_64-linux:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: make & test tcc
|
|
run: ./configure && make && make test -k
|
|
|
|
test-x86_64-osx:
|
|
runs-on: macos-11
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: make & test tcc
|
|
run: ./configure && make && make test -k
|
|
|
|
test-x86_64-win32:
|
|
runs-on: windows-2019
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: make & test tcc
|
|
shell: cmd
|
|
run: |
|
|
set MSYS2_PATH_TYPE=inherit
|
|
set MSYSTEM=MINGW64
|
|
set CHERE_INVOKING=yes
|
|
C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k"
|