Skip to content

Commit 090848f

Browse files
committed
ci: Try getting ci working
1 parent a0bd63b commit 090848f

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
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

.github/workflows/release-plz.yml

Lines changed: 4 additions & 5 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,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 }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ devenv.local.nix
1212
# Added by cargo
1313

1414
/target
15+
16+
# External dependencies
17+
third_party/

CHANGELOG.md

Whitespace-only changes.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# qulacs-bridge

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.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
}

0 commit comments

Comments
 (0)