diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4a1b62e1..e3c1b241 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,68 +1,32 @@ name: build and run tests + on: push: branches: [ mob ] - pull_request: - branches: [ mob ] + jobs: - build-release-linux-i686-amd64: - name: tinycc master linux/amd64 + test-x86_64-linux: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - name: Install dependencies - run: sudo apt-get install -y - gcc - # see what's available in /usr/bin - - name: see what's available - run: ls -l /usr/bin - # build project amd64 - - name: build amd64 - run: | - ./configure - make - # run tests - - name: run test_exs amd64 - run: | - make test + - uses: actions/checkout@v3 + - name: make & test tcc + run: ./configure && make && make test -k - build-release-osx-amd64: - name: tinycc master osx/amd64 + test-x86_64-osx: runs-on: macos-11 steps: - - uses: actions/checkout@v2 - # see what's available in /usr/bin - - name: see what's available - run: ls -l /usr/bin - # build project amd64 - - name: build amd64 - run: | - ./configure - make - # run tests - - name: run test_exs amd64 - run: | - make test + - uses: actions/checkout@v3 + - name: make & test tcc + run: ./configure && make && make test -k - build-release-windows-amd64-on-windows: - name: tinycc master windows/amd64 on Windows - runs-on: windows-latest + test-x86_64-win32: + runs-on: windows-2019 steps: - - uses: actions/checkout@v2 - - uses: msys2/setup-msys2@v2 - # build project amd64 - - name: build amd64 + - uses: actions/checkout@v3 + - name: make & test tcc + shell: cmd run: | - msys2 -c './configure' - make - # silency failing tests - - name: silence 96_nodata_wanted - run: | - pushd .\tests\tests2 - Get-Content .\96_nodata_wanted.expect -TotalCount 2 | Out-File .\96_nodata_wanted.expect2 -Encoding default - mv .\96_nodata_wanted.expect2 .\96_nodata_wanted.expect -force - popd - # run tests - - name: run test_exs amd64 - run: | - make test + set MSYS2_PATH_TYPE=inherit + set MSYSTEM=MINGW64 + set CHERE_INVOKING=yes + C:\msys64\usr\bin\bash -l -c "./configure && make && make test -k" diff --git a/.gitignore b/.gitignore index d79c1c8a..24ee9612 100644 --- a/.gitignore +++ b/.gitignore @@ -31,9 +31,9 @@ tags TAGS tcc.1 *.pod +*.tcov tcc-doc.html tcc-doc.info -tcc_c.tcov win32/doc win32/examples/libtcc_test.c diff --git a/Changelog b/Changelog index 342484c3..7ccf11da 100644 --- a/Changelog +++ b/Changelog @@ -1,19 +1,26 @@ version 0.9.28: User interface: -- new tcc -ar x and t flags (herman ten brugge) +- -b : bounds checker much improved (herman ten brugge) +- -bt : support for standalone backtraces also (grischka) +- -gdwarf : debug format (herman ten brugge) +- -M, -MM, and -MMD (Arthur Williams) +- -W[no-]error=