Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

Upgrade cargo action

+25 -25
+11 -11
.github/workflows/ci.yaml
··· 41 41 - os: ubuntu-latest 42 42 target: x86_64-unknown-linux-gnu 43 43 binary: x86-64 44 - use-cross: false 44 + cargo-tool: cargo 45 45 run-integration-tests: true 46 46 - os: ubuntu-latest 47 47 target: x86_64-unknown-linux-musl 48 48 binary: x86-64 49 - use-cross: true 49 + cargo-tool: cross 50 50 run-integration-tests: true 51 51 - os: ubuntu-latest 52 52 target: aarch64-unknown-linux-gnu 53 53 binary: aarch64 54 - use-cross: true 54 + cargo-tool: cross 55 55 run-integration-tests: false # Cannot run aarch64 binaries on x86_64 56 56 - os: ubuntu-latest 57 57 target: aarch64-unknown-linux-musl 58 58 binary: aarch64 59 - use-cross: true 59 + cargo-tool: cross 60 60 run-integration-tests: false # Cannot run aarch64 binaries on x86_64 61 61 # macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64 62 62 - os: macos-13 # intel 63 63 target: x86_64-apple-darwin 64 64 binary: x86_64 65 - use-cross: false 65 + cargo-tool: cargo 66 66 run-integration-tests: true 67 67 - os: macos-latest # aarch64 68 68 toolchain: stable 69 69 target: aarch64-apple-darwin 70 70 binary: arm64 71 - use-cross: false 71 + cargo-tool: cargo 72 72 run-integration-tests: true 73 73 - os: windows-latest 74 74 target: x86_64-pc-windows-msvc 75 75 binary: x86-64 76 - use-cross: false 76 + cargo-tool: cargo 77 77 run-integration-tests: true 78 78 steps: 79 79 - name: Checkout repository ··· 113 113 key: v1-${{ matrix.target }} 114 114 115 115 - name: Install Gleam 116 - uses: clechasseur/rs-cargo@v2 116 + uses: clechasseur/rs-cargo@v3 117 117 with: 118 118 command: install 119 119 args: "--path compiler-cli --target ${{ matrix.target }} --debug --locked --force" 120 - use-cross: ${{ matrix.use-cross }} 120 + tool: ${{ matrix.cargo-tool }} 121 121 if: ${{ matrix.run-integration-tests }} 122 122 123 123 - name: Verify binary architecture ··· 138 138 if: ${{ matrix.run-integration-tests }} 139 139 140 140 - name: Run tests 141 - uses: clechasseur/rs-cargo@v2 141 + uses: clechasseur/rs-cargo@v3 142 142 with: 143 143 command: test 144 144 args: "--workspace --target ${{ matrix.target }}" 145 - use-cross: ${{ matrix.use-cross }} 145 + tool: ${{ matrix.cargo-tool }} 146 146 147 147 - name: test/project_erlang (non-windows) 148 148 run: |
+7 -7
.github/workflows/release-nightly.yaml
··· 63 63 - os: ubuntu-latest 64 64 target: x86_64-unknown-linux-musl 65 65 binary: x86-64 66 - use-cross: true 66 + cargo-tool: cross 67 67 - os: ubuntu-latest 68 68 target: aarch64-unknown-linux-musl 69 69 binary: aarch64 70 - use-cross: true 70 + cargo-tool: cross 71 71 # macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64 72 72 - os: macos-13 73 73 target: x86_64-apple-darwin 74 74 binary: x86_64 75 - use-cross: false 75 + cargo-tool: cargo 76 76 - os: macos-latest 77 77 target: aarch64-apple-darwin 78 78 binary: arm64 79 - use-cross: false 79 + cargo-tool: cargo 80 80 - os: windows-latest 81 81 target: x86_64-pc-windows-msvc 82 82 binary: x86-64 83 - use-cross: false 83 + cargo-tool: cargo 84 84 steps: 85 85 - name: Checkout repository 86 86 uses: actions/checkout@v4 ··· 102 102 key: v1-${{ matrix.target }} 103 103 104 104 - name: Build release binary 105 - uses: clechasseur/rs-cargo@v2 105 + uses: clechasseur/rs-cargo@v3 106 106 with: 107 107 command: build 108 108 args: --release --target ${{ matrix.target }} 109 - use-cross: ${{ matrix.use-cross }} 109 + cargo-tool: ${{ matrix.cargo-tool }} 110 110 111 111 - name: Verify binary architecture 112 112 shell: bash
+7 -7
.github/workflows/release.yaml
··· 25 25 - os: ubuntu-latest 26 26 target: x86_64-unknown-linux-musl 27 27 binary: x86-64 28 - use-cross: true 28 + cargo-tool: cross 29 29 - os: ubuntu-latest 30 30 target: aarch64-unknown-linux-musl 31 31 binary: aarch64 32 - use-cross: true 32 + cargo-tool: cross 33 33 # macos>=14 runs exclusively on aarch64 and will thus fail to execute properly for x64 34 34 - os: macos-13 35 35 target: x86_64-apple-darwin 36 36 binary: x86_64 37 - use-cross: false 37 + cargo-tool: cargo 38 38 - os: macos-latest 39 39 target: aarch64-apple-darwin 40 40 binary: arm64 41 - use-cross: false 41 + cargo-tool: cargo 42 42 - os: windows-latest 43 43 target: x86_64-pc-windows-msvc 44 44 binary: x86-64 45 - use-cross: false 45 + cargo-tool: cargo 46 46 steps: 47 47 - name: Checkout repository 48 48 uses: actions/checkout@v4 ··· 59 59 key: v1-${{ matrix.target }} 60 60 61 61 - name: Build release binary 62 - uses: clechasseur/rs-cargo@v2 62 + uses: clechasseur/rs-cargo@v3 63 63 with: 64 64 command: build 65 65 args: --release --target ${{ matrix.target }} 66 - use-cross: ${{ matrix.use-cross }} 66 + tool: ${{ matrix.cargo-tool }} 67 67 68 68 - name: Verify binary architecture 69 69 shell: bash