Skip to content

Commit

Permalink
Verify all Enso projects execute fine
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach authored Dec 5, 2024
1 parent 5ef86d1 commit bd28590
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/enso.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

- name: Download ensoup
run: wget https://github.com/enso-org/enso/releases/download/2024.4.2/enso-launcher-2024.4.2-linux-amd64.tar.gz

- name: Untar ensoup
run: tar fxvz enso-launcher-2024.4.2-linux-amd64.tar.gz

- name: Install Enso
run: ./enso/bin/ensoup install engine 2024.4.2

- name: List Enso compoonents
run: ./enso/bin/ensoup list

- name: Test all projects
run: |
for i in Dec*; do
echo Running $i
./enso/bin/ensoup run $i
echo Exit code: $?
done

0 comments on commit bd28590

Please sign in to comment.