Skip to content

Add GitHub Actions workflow for Izem Runtime CI #4

Add GitHub Actions workflow for Izem Runtime CI

Add GitHub Actions workflow for Izem Runtime CI #4

Workflow file for this run

name: Izem Runtime CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Nim
uses: iffy/install-nim@v5
with:
version: '2.0.0'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev
- name: Build project
run: make
- name: Run basic test
run: |
echo 'console.log("Hello, World!");' > test.js
./izem test.js | grep "Hello, World!"