|
|
@ -63,7 +63,7 @@ jobs: |
|
|
|
run: cargo build --release |
|
|
|
run: cargo build --release |
|
|
|
env: |
|
|
|
env: |
|
|
|
RUSTFLAGS: "-C target-feature=+crt-static" |
|
|
|
RUSTFLAGS: "-C target-feature=+crt-static" |
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
- uses: actions/upload-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-windows |
|
|
|
name: fnm-windows |
|
|
|
path: target/release/fnm.exe |
|
|
|
path: target/release/fnm.exe |
|
|
@ -85,7 +85,7 @@ jobs: |
|
|
|
run: strip target/release/fnm |
|
|
|
run: strip target/release/fnm |
|
|
|
- name: List dynamically linked libraries |
|
|
|
- name: List dynamically linked libraries |
|
|
|
run: otool -L target/release/fnm |
|
|
|
run: otool -L target/release/fnm |
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
- uses: actions/upload-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-macos |
|
|
|
name: fnm-macos |
|
|
|
path: target/release/fnm |
|
|
|
path: target/release/fnm |
|
|
@ -98,7 +98,7 @@ jobs: |
|
|
|
- name: install necessary shells |
|
|
|
- name: install necessary shells |
|
|
|
run: brew install fish zsh bash |
|
|
|
run: brew install fish zsh bash |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/download-artifact@v3 |
|
|
|
- uses: actions/download-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-macos |
|
|
|
name: fnm-macos |
|
|
|
path: target/release |
|
|
|
path: target/release |
|
|
@ -134,7 +134,7 @@ jobs: |
|
|
|
name: "e2e/windows" |
|
|
|
name: "e2e/windows" |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/download-artifact@v3 |
|
|
|
- uses: actions/download-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-windows |
|
|
|
name: fnm-windows |
|
|
|
path: target/release |
|
|
|
path: target/release |
|
|
@ -204,7 +204,7 @@ jobs: |
|
|
|
- name: install necessary shells |
|
|
|
- name: install necessary shells |
|
|
|
run: sudo apt-get update && sudo apt-get install -y fish zsh bash |
|
|
|
run: sudo apt-get update && sudo apt-get install -y fish zsh bash |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/download-artifact@v3 |
|
|
|
- uses: actions/download-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-linux |
|
|
|
name: fnm-linux |
|
|
|
path: target/release |
|
|
|
path: target/release |
|
|
@ -254,7 +254,7 @@ jobs: |
|
|
|
run: cargo build --release --target x86_64-unknown-linux-musl |
|
|
|
run: cargo build --release --target x86_64-unknown-linux-musl |
|
|
|
- name: Strip binary from debug symbols |
|
|
|
- name: Strip binary from debug symbols |
|
|
|
run: strip target/x86_64-unknown-linux-musl/release/fnm |
|
|
|
run: strip target/x86_64-unknown-linux-musl/release/fnm |
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
- uses: actions/upload-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-linux |
|
|
|
name: fnm-linux |
|
|
|
path: target/x86_64-unknown-linux-musl/release/fnm |
|
|
|
path: target/x86_64-unknown-linux-musl/release/fnm |
|
|
@ -315,7 +315,7 @@ jobs: |
|
|
|
echo "fnm exec --using=12 -- node --version" |
|
|
|
echo "fnm exec --using=12 -- node --version" |
|
|
|
/artifacts/fnm exec --using=12 -- node --version |
|
|
|
/artifacts/fnm exec --using=12 -- node --version |
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
- uses: actions/upload-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-${{ matrix.arch }} |
|
|
|
name: fnm-${{ matrix.arch }} |
|
|
|
path: target/${{ env.RUST_TARGET }}/release/fnm |
|
|
|
path: target/${{ env.RUST_TARGET }}/release/fnm |
|
|
@ -328,7 +328,7 @@ jobs: |
|
|
|
- name: install necessary shells |
|
|
|
- name: install necessary shells |
|
|
|
run: sudo apt-get update && sudo apt-get install -y fish zsh bash |
|
|
|
run: sudo apt-get update && sudo apt-get install -y fish zsh bash |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/checkout@v4 |
|
|
|
- uses: actions/download-artifact@v3 |
|
|
|
- uses: actions/download-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: fnm-linux |
|
|
|
name: fnm-linux |
|
|
|
path: target/release |
|
|
|
path: target/release |
|
|
|