CI #66
Workflow file for this run
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
| # SPDX-License-Identifier: MPL-2.0-or-later | |
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 | |
| - name: Install GNAT and GPRbuild | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gnat gprbuild | |
| - name: Build | |
| run: gprbuild -P bitfuckit.gpr | |
| - name: Smoke test | |
| run: bin/bitfuckit --help | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 | |
| - name: Install GNAT, GPRbuild, and GNATprove | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y gnat gprbuild gnatprove || true | |
| - name: SPARK verification (best effort) | |
| run: gnatprove -P bitfuckit.gpr --mode=check || echo "SPARK verification requires full toolchain" | |
| continue-on-error: true |