-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update CI configuration (#430)
* chore: Update CI configuration * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml --------- Co-authored-by: wwared <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,8 @@ concurrency: | |
|
||
jobs: | ||
test: | ||
runs-on: warp-ubuntu-latest-x64-16x | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up git private repo access | ||
run: | | ||
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com/".insteadOf ssh://[email protected] | ||
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com".insteadOf https://github.com | ||
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" | tee -a $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: argumentcomputer/ci-workflows | ||
|
@@ -25,21 +20,41 @@ jobs: | |
with: | ||
packages: opam | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: build | ||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: taiki-e/install-action@nextest | ||
- uses: taiki-e/install-action@wasm-pack | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 23 | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: lurk-lab/lurkscript | ||
path: lurkscript | ||
token: ${{ secrets.REPO_TOKEN }} | ||
- name: Install Lurkscript | ||
run: | | ||
mkdir ci-bin | ||
cd ci-bin | ||
CI_BINDIR="$(pwd)" | ||
echo "$CI_BINDIR" >> $GITHUB_PATH | ||
export PATH="$PATH:$CI_BINDIR" | ||
cd ../lurkscript | ||
npm install -g pnpm | ||
pnpm config set global-bin-dir "$CI_BINDIR" | ||
pnpm install | ||
pnpm -r build | ||
pnpm install-cli | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Linux Tests | ||
run: | | ||
cd build | ||
cargo nextest run --profile ci --cargo-profile dev-ci --workspace --run-ignored all --features loam | ||
clippy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up git private repo access | ||
run: | | ||
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com/".insteadOf ssh://[email protected] | ||
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com".insteadOf https://github.com | ||
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" | tee -a $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: argumentcomputer/ci-workflows | ||
|
@@ -61,13 +76,8 @@ jobs: | |
# uses: EmbarkStudios/cargo-deny-action@v1 | ||
|
||
bench-regression: | ||
runs-on: warp-ubuntu-latest-x64-32x | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up git private repo access | ||
run: | | ||
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com/".insteadOf ssh://[email protected] | ||
git config --global url."https://${{ secrets.REPO_TOKEN }}@github.com".insteadOf https://github.com | ||
echo "CARGO_NET_GIT_FETCH_WITH_CLI=true" | tee -a $GITHUB_ENV | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: argumentcomputer/ci-workflows | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters