Skip to content

Dev

Dev #1293

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v3
- name: Install dos2unix
run: |
sudo apt-get install tofrodos
sudo ln -s /usr/bin/fromdos /usr/bin/dos2unix
- name: Install Dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Check Dotnet env
run: |
dotnet --version
dotnet --info
dotnet --list-runtimes
dotnet --list-sdks
- name: Install Dart
uses: dart-lang/setup-dart@v1
- name: Do not trust Dart env
run: |
dart --version
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '^1.19.0'
- name: Do not trust Go env
run: |
go version
- name: Install Python
uses: actions/setup-python@v4.2.0
with:
python-version: '3.10'
- name: Do not trust Python env
run: |
python --version
- name: Install JavaScript
uses: actions/setup-node@v3.4.1
with:
node-version: '16.13.0'
- name: Do not trust JavaScript env
run: |
node --version
- name: Build
run: |
make build
make install
- name: Test
run: |
cd _tests
bash all-tests.sh