Skip to content

Commit

Permalink
actions test
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoRFS committed Oct 29, 2024
1 parent 1793437 commit 463d178
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check and Build Ligo

on:
push:
branches:
- stable
tags:
- "v*.*.*"
pull_request:
branches:
- stable

jobs:
build_nix:
name: Build Ligo ${{ matrix.name }}
strategy:
matrix:
-
name: Ubuntu x86_64
system: ubuntu-24.04
-
name: macOS arm64
system: macos-14
runs-on: ${{ matrix.system }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
- run: nix build -L .#ligo
3 changes: 3 additions & 0 deletions nix/ligo.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ in
TREE_SITTER = "${tree-sitter}";
TREE_SITTER_TYPESCRIPT = "${tree-sitter-typescript}";

# TODO: needed due to racing condition on inline_tests
enableParallelBuilding = false;

postPatch = ''
mkdir -p vendors/tezos-ligo
cp -r ${tezos-ligo}/. vendors/tezos-ligo/
Expand Down

0 comments on commit 463d178

Please sign in to comment.