Add dependency on PCCTS-generated files for compiling ccccmain #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: smoke | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, macos-11, windows-2019] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add 64-bit mingw-w64 to the PATH | |
run: | | |
echo "c:/msys64/bin;c:/msys64/mingw64/bin" >> $GITHUB_PATH | |
which gcc | |
if: startsWith(matrix.os, 'win') | |
- name: build | |
run: make cccc | |
- name: run test | |
run: make test | |
windows: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Enable Developer Command Prompt | |
uses: ilammy/msvc-dev-cmd@v1 | |
- name: Build | |
run: | | |
.\build_msvc.bat --clean | |
.\cccc.exe |