Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve events #122

Merged
merged 15 commits into from
Mar 22, 2021
54 changes: 27 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
name: Set-Up & Build
name: Set-Up & Build & Test

# Controls when the action will run.
on:
push:
branches:
- "**" # matches every branch
- "!master" # excludes master
pull_request:
branches:
- "**" # matches every branch
- "!master" # excludes master

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- "**" # matches every branch
- "!master" # excludes master
pull_request:
branches:
- "**" # matches every branch
- "!master" # excludes master

# 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:
build:
# The type of runner that the job will run on
runs-on: ubuntu-18.04
build:
# The type of runner that the job will run on
runs-on: ubuntu-18.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: Set-Up
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl
- name: Set-Up
run: sudo apt install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl

- name: Install Rustup
run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Install Rustup
run: curl https://sh.rustup.rs -sSf | sh -s -- -y

- name: Build
run: ./scripts/build.sh
- name: Build
run: ./scripts/build.sh

- name: Test
run: ./scripts/test.sh
- name: Test
run: ./scripts/test.sh
Loading