Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/JET.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: JET

on:
push:
branches:
- master
- release-*
tags: ['*']
pull_request:
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: Julia ${{ matrix.julia-version }}-${{ matrix.julia-arch }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
fail-fast: false
matrix:
julia-version: ['lts', '1']
os: [ubuntu-latest]
julia-arch: [x64]

steps:
- uses: actions/checkout@v7
- name: "Set up Julia"
uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/cache@v3
- uses: julia-actions/julia-buildpkg@v1
- name: Install JET
run: |
julia -e '
using Pkg; Pkg.add("JET");
Pkg.status(; mode=PKGMODE_MANIFEST)'
- name: Run JET testing
run: |
julia --project=. --color=yes -e '
using JET, Test
using FixedPointNumbers
println("report_package(FixedPointNumbers, toplevel_logger=nothing)")
show(JET.report_package(FixedPointNumbers, toplevel_logger=nothing))
@testset "JET" begin
JET.test_package(FixedPointNumbers; target_modules=(FixedPointNumbers,))
end'
Loading