Add NATIVEINT=128 and update compat settings #236
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: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: ['*'] | |
paths-ignore: | |
- 'CITATION.bib' | |
- 'LICENSE.md' | |
- 'README.md' | |
- '.zenodo.json' | |
- '.github/workflows/CompatHelper.yml' | |
- '.github/workflows/SpellCheck.yml' | |
- '.github/workflows/TagBot.yml' | |
- 'docs/**' | |
pull_request: | |
paths-ignore: | |
- 'CITATION.bib' | |
- 'LICENSE.md' | |
- 'README.md' | |
- '.zenodo.json' | |
- '.github/workflows/CompatHelper.yml' | |
- '.github/workflows/SpellCheck.yml' | |
- '.github/workflows/TagBot.yml' | |
- 'docs/**' | |
workflow_dispatch: | |
concurrency: | |
# Skip intermediate builds: always. | |
# Cancel intermediate builds: only if it is a pull request build. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
test: | |
name: ${{ matrix.os }} - Julia ${{ matrix.version }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- '1.10' | |
- '1.11' | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
- run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)' | |
- uses: julia-actions/cache@v2 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- name: Run julia-actions/julia-runtest@v1 for NATIVEINT = 64 | |
uses: julia-actions/julia-runtest@v1 | |
- name: Set NATIVEINT = 128 | |
run: | | |
#using OpenFHE | |
#OpenFHE.set_native_int!(128) | |
shell: julia --color=yes {0} | |
- name: Run julia-actions/julia-runtest@v1 for NATIVEINT = 128 | |
uses: julia-actions/julia-runtest@v1 | |
- uses: julia-actions/julia-processcoverage@v1 | |
with: | |
directories: src,examples | |
- uses: codecov/codecov-action@v5 | |
with: | |
files: lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: ./lcov.info | |
# Enable tmate debugging of manually-triggered workflows if the input option was provided | |
- name: Setup tmate session for debugging | |
uses: mxschmitt/action-tmate@v3 | |
timeout-minutes: 15 |