Skip to content

Commit

Permalink
chore: add CI test for building example blugin
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp committed Sep 11, 2023
1 parent 34cc336 commit 374fb95
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test_example_plugin_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
pull_request:
push:
branches:
- main

name: Test Example Plugin Build

jobs:
Precompile:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
steps:
- uses: actions/checkout@v4
name: Checkout irondash/hello_rust_ffi_plugin
with:
fetch-depth: 0
repository: irondash/hello_rust_ffi_plugin
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Update Cargokit
shell: batch
run: git subtree pull --prefix cargokit https://github.com/irondash/cargokit.git ${{ steps.extract_branch.outputs.branch }} --squash

0 comments on commit 374fb95

Please sign in to comment.