Skip to content

Commit

Permalink
all scripts at top
Browse files Browse the repository at this point in the history
  • Loading branch information
urbas committed Mar 24, 2024
1 parent 356e7c4 commit 93dd11c
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 76 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,13 @@ jobs:
target
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml', '**/Cargo.lock', '**/.cargo/config.toml', '**/rust-toolchain.toml', '**/flake.nix', '**/flake.lock') }}

- name: nixjs-rt
- name: Build
run: |
cd nixjs-rt
eval "$(nix print-dev-env)"
parallel --line-buffer --ctagstring "{}>\033[0m" scripts/{} ::: \
check-nix-pkg.sh \
check-npm-deps-hash.sh \
check-npm.sh
- name: rix
run: |
eval "$(nix print-dev-env)"
parallel --line-buffer --ctagstring "{}>\033[0m" scripts/{} ::: \
check-cargo.sh \
check-nix-pkg.sh
parallel --line-buffer --ctagstring "{}>\033[0m" scripts/ci-{}.sh ::: \
build-rix \
check-nixjs-rt \
check-npm-deps-hash \
nix-pkg-nixjs-rt \
nix-pkg-rix
170 changes: 112 additions & 58 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ clap = "4.0.18"
colored = "2.0.0"
rowan = "0"
rnix = "0"
v8 = "0.80.0"
v8 = "0.85.0"
8 changes: 7 additions & 1 deletion scripts/check-cargo.sh → scripts/ci-build-rix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

set -ex

(
cd nixjs-rt;
npm ci
npm run build
)

cargo fmt --check
cargo clippy -- --deny "warnings"
cargo test
cargo test
Loading

0 comments on commit 93dd11c

Please sign in to comment.