Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
trying github actions fixes for capnproto
Browse files Browse the repository at this point in the history
  • Loading branch information
nyospe committed Mar 22, 2024
1 parent 1bc770f commit abb9aa3
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/actions/install-capnp/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Install Capn Proto
runs:
using: composite
steps:
- run: |
sudo apt-get update
sudo apt-get install -y capnproto
shell: bash
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Install capnproto
uses: ./.github/actions/install-capnp

- uses: dtolnay/rust-toolchain@stable

- name: Configure Git
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
windows:
runs-on: windows-latest
env:
RUSTFLAGS: "--cfg async_executor_impl=\"async-std\" --cfg async_channel_impl=\"async-std\" --cfg hotshot_example"
RUSTFLAGS: "--cfg async_executor_impl=\"async-std\" --cfg async_channel_impl=\"async-std\""
RUST_LOG: info
steps:
- name: Configure Git
Expand All @@ -40,6 +40,12 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v2

# Will this work?
# - name: Install Cap'n Proto
# run: |
# curl https://capnproto.org/capnproto-c++-win32-1.0.2.zip -o capnproto.zip
# 7z.exe e capnproto.zip *.exe

- name: Checkout Repository
uses: actions/checkout@v4

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/debug_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Install capnproto
uses: ./.github/actions/install-capnp

- uses: dtolnay/rust-toolchain@stable

- uses: styfle/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Install capnproto
uses: ./.github/actions/install-capnp

- uses: dtolnay/rust-toolchain@stable

- name: Configure Git
Expand Down

0 comments on commit abb9aa3

Please sign in to comment.