Skip to content

Commit

Permalink
Merge pull request #72 from nazar-pc/update-subspace
Browse files Browse the repository at this point in the history
Upgrade Subspace to the upcoming release
  • Loading branch information
nazar-pc authored Jan 3, 2024
2 parents d573e2b + 6cadc4d commit a8affea
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 85 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# Needed for hwloc
- name: Install automake (macOS)
run: brew install automake
if: runner.os == 'macOS'

# Workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll
- name: Remove msys64
run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
Expand All @@ -145,10 +150,15 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Build app
- name: Build app (Linux and Windows)
run: cargo build --locked -Z build-std --target ${{ matrix.build.target }} --profile production
if: runner.os != 'macOS'

- name: Build app (macOS)
run: cargo build --locked -Z build-std --target ${{ matrix.build.target }} --profile production --no-default-features
if: runner.os == 'macOS'

# TODO: Package Linux and macOS
# TODO: Package macOS

- name: Install cargo-wix (Windows)
uses: taiki-e/cache-cargo-install-action@1b76958d032c4d048c599f9fdfa48abe804d6319 # v1.2.2
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# Needed for hwloc
- name: Install automake (macOS)
run: brew install automake
if: runner.os == 'macOS'

# Workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll
- name: Remove msys64
run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
Expand Down Expand Up @@ -252,6 +257,11 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# Needed for hwloc
- name: Install automake (macOS)
run: brew install automake
if: runner.os == 'macOS'

# Workaround to resolve link error with C:\msys64\mingw64\bin\libclang.dll
- name: Remove msys64
run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
Expand Down
Loading

0 comments on commit a8affea

Please sign in to comment.