Skip to content

Commit

Permalink
CI on ARM Mac (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
Krastanov authored Aug 3, 2024
1 parent b02add9 commit 12924ec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
- '5'
arch:
- x64
include:
- arch: aarch64
os: macos-latest
version: '1'
threads: '1'
- arch: x64
os: macos-latest
version: '1'
threads: '1'
- arch: x64
os: windows-latest
version: '1'
threads: '1'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ testfilter = ti -> begin
push!(exclude, :gpu)
end

if !(Base.Sys.islinux() & (Int===Int64))
push!(exclude, :bitpack)
end

return all(!in(exclude), ti.tags)
end

Expand Down
2 changes: 1 addition & 1 deletion test/test_bitpack.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@testitem "Alternative bit packing" begin
@testitem "Alternative bit packing" tags=[:bitpack] begin
using Random
using QuantumClifford: Tableau

Expand Down

0 comments on commit 12924ec

Please sign in to comment.