A github action for installing and setting up the Arcium CLI and tooling.
Here's an example workflow:
name: example-workflow
on: [push]
jobs:
run-arcium-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: arcium-hq/[email protected]
with:
runner-arch-os: x86_64_linux
- run: arcium build
shell: bashThis will use the default versions of Arcium, Anchor, Node.js, and Solana CLI tools, which are 0.5.1, 0.32.1, 20.18.0, and 2.3.0 respectively. It will run on the specified architecture and operating system (which is currently a mandatory parameter), the possible options are: x86_64_linux, aarch64_macos. You can also configure these versions like so:
steps:
- uses: actions/checkout@v3
- uses: arcium-hq/[email protected]
with:
anchor-version: '0.32.1'
solana-cli-version: '2.3.0'
node-version: '20.11.0'
runner-arch-os: x86_64_linuxThe scripts and documentation in this project are released under the MIT License.