Skip to content

Commit 32b3ff0

Browse files
committed
ci: Try and use devenv
1 parent a34c8d7 commit 32b3ff0

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/release-plz.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
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,17 +22,10 @@ jobs:
2122
uses: actions/checkout@v4
2223
with:
2324
fetch-depth: 0
24-
- name: Install Rust toolchain
25-
uses: dtolnay/rust-toolchain@stable
26-
- name: Build Qulacs
27-
run: |
28-
wget -qO- https://github.com/qulacs/qulacs/archive/refs/tags/v0.6.11.tar.gz | gunzip | tar xvf -
29-
mkdir third_party/
30-
mv qulacs-0.6.11 third_party/qulacs/
31-
cd third_party/qulacs
32-
bash ./script/build_gcc.sh
3325
- name: Run release-plz
34-
uses: MarcoIeni/release-plz-action@v0.5
26+
runs: |
27+
devenv shell release-plz release-pr
28+
devenv shell release-plz release
3529
env:
3630
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
3731
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

devenv.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ in {
77
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
88
};
99

10-
packages = [ pkgs.pkg-config pkgs.boost pkgs.eigen pkgs.mpi qulacs pkgs.act ];
10+
packages = [ pkgs.boost pkgs.eigen pkgs.mpi qulacs pkgs.release-plz ];
1111
languages.rust.enable = true;
1212
languages.nix.enable = true;
1313
}

0 commit comments

Comments
 (0)