Skip to content

arcium-hq/setup-arcium

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Arcium

A github action for installing and setting up the Arcium CLI and tooling.

Usage

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: bash

This 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_linux

License

The scripts and documentation in this project are released under the MIT License.