chore: bump version to 1.1.3 #7
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install build deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential pkg-config | |
| - name: Build | |
| run: | | |
| make clean | |
| make BACKEND=original | |
| - name: Smoke test | |
| run: | | |
| ./onec test/example5.deck | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: onec-linux | |
| path: onec | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: | | |
| make clean | |
| make | |
| - name: Smoke test | |
| run: | | |
| ./onec test/example5.deck | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: onec-macos | |
| path: onec | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup MSYS2 / MINGW64 | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 | |
| update: true | |
| install: | | |
| mingw-w64-x86_64-toolchain | |
| mingw-w64-x86_64-openblas | |
| pkgconf | |
| make | |
| - name: Build (MINGW64) | |
| shell: bash -l {0} | |
| run: | | |
| export PATH="/c/msys64/mingw64/bin:$PATH" | |
| make clean | |
| make CC=x86_64-w64-mingw32-gcc BACKEND=original | |
| - name: Smoke test (MINGW64) | |
| shell: bash -l {0} | |
| run: | | |
| ./onec.exe test/example5.deck | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: onec-windows | |
| path: onec.exe |