File tree Expand file tree Collapse file tree 6 files changed +11
-10
lines changed
Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 2020 - name : Install devenv.sh
2121 run : nix profile install nixpkgs#devenv
2222 - name : Build
23- shell : devenv shell '{0}'
24- run : cargo build --verbose
23+ run : devenv shell cargo build
2524 - name : Run tests
26- shell : devenv shell '{0}'
27- run : cargo test --verbose
25+ run : devenv shell cargo test --verbose
Original file line number Diff line number Diff line change 1313 release-plz :
1414 name : Release-plz
1515 runs-on : ubuntu-latest
16+ if : ${{ github.repository_owner == 'quantinuum-dev' }}
1617 concurrency :
1718 group : release-plz-${{ github.ref }}
1819 cancel-in-progress : false
@@ -21,12 +22,10 @@ jobs:
2122 uses : actions/checkout@v4
2223 with :
2324 fetch-depth : 0
24- - uses : DeterminateSystems/nix-installer-action@main
25- - name : Install devenv.sh
26- run : nix profile install nixpkgs#devenv
2725 - name : Run release-plz
28- shell : devenv shell '{0}'
29- uses : MarcoIeni/release-plz-action@v0.5
26+ runs : |
27+ devenv shell release-plz release-pr
28+ devenv shell release-plz release
3029 env :
3130 GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
3231 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ devenv.local.nix
1212# Added by cargo
1313
1414/target
15+
16+ # External dependencies
17+ third_party /
Original file line number Diff line number Diff line change 1+ # qulacs-bridge
Original file line number Diff line number Diff line change 77 LIBCLANG_PATH = "${ pkgs . libclang . lib } /lib" ;
88 } ;
99
10- packages = [ pkgs . boost pkgs . eigen pkgs . mpi qulacs ] ;
10+ packages = [ pkgs . boost pkgs . eigen pkgs . mpi qulacs pkgs . release-plz ] ;
1111 languages . rust . enable = true ;
1212 languages . nix . enable = true ;
1313}
You can’t perform that action at this time.
0 commit comments