Skip to content

split the code

split the code #254

Workflow file for this run

name: Compile source code
on:
push:
branches:
- master
paths:
- src/*
- dev/compile_src.sh
- .github/workflows/src.yml
jobs:
job1:
name: GCC on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v4
- name: Install gcc
run: sudo apt-get install gcc
- name: Compile source code
run: ./dev/compile_src.sh
env:
CC: gcc
OS: linux
job2:
name: Clang on macOS
runs-on: macos-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v4
- name: Compile source code
run: ./dev/compile_src.sh
env:
CC: clang
OS: macos