Skip to content

Pr test

Pr test #8

Workflow file for this run

name: C/C++ CI
env:
PR_NUMBER: ${{ github.event.number }}
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the $default-branch branch
push:
branches: [ "next" ]
pull_request:
branches: [ "next" ]
# 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-22.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@v4
with:
# Relative path under $GITHUB_WORKSPACE to place the repository
path: 'pr_checkout'
# Runs a single command using the runners shell
- name: check
run: |
cp ./pr_checkout/.github/scripts/build-check.sh .
chmod +x ./build-check.sh
./build-check.sh