diff --git a/.github/actions/install-capnp/action.yml b/.github/actions/install-capnp/action.yml new file mode 100644 index 00000000..a0e9be83 --- /dev/null +++ b/.github/actions/install-capnp/action.yml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d042f79..9d5e433a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index acd52bc3..fc3118ba 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -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 @@ -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 diff --git a/.github/workflows/debug_build.yml b/.github/workflows/debug_build.yml index 2e27082c..fbbaff35 100644 --- a/.github/workflows/debug_build.yml +++ b/.github/workflows/debug_build.yml @@ -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/cancel-workflow-action@0.12.0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d0347d28..d16268da 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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