Skip to content

Commit

Permalink
Add GitHub Actions workflow for Izem Runtime CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AtilMohAmine committed Sep 10, 2024
1 parent e1183e4 commit 06498ce
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/nim-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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: jiro4989/setup-nim-action@v2
with:
nim-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 compile

- name: Run basic test
run: |
echo 'console.log("Hello, World!");' > test.js
./izem test.js | grep "Hello, World!"

0 comments on commit 06498ce

Please sign in to comment.