File: example.yml

package info (click to toggle)
supernovas 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,496 kB
  • sloc: ansic: 20,238; makefile: 387; fortran: 38; python: 34; sh: 14
file content (44 lines) | stat: -rw-r--r-- 967 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Example
permissions:
  contents: read
  pull-requests: write

on:
  push:
    branches:
      - main
    paths:
      - 'examples/**'
      - '.github/workflows/example.yml'

  pull_request:
    paths:
      - 'examples/**'
      - '.github/workflows/example.yml'

jobs:
  build:
    name: Check examples
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v6

    - name: Compile example-star.c
      run: |
        gcc -c -Wall -Werror -Iinclude examples/example-star.c

    - name: Compile example-high-z.c
      run: |
        gcc -c -Wall -Werror -Iinclude examples/example-high-z.c

    - name: Compile example-orbital.c
      run: |
        gcc -c -Wall -Werror -Iinclude examples/example-orbital.c

    - name: Compile example-time.c
      run: |
        gcc -c -Wall -Werror -Iinclude examples/example-time.c
        
    - name: Compile example-rise-set.c
      run: |
        gcc -c -Wall -Werror -Iinclude examples/example-rise-set.c