-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 986 Bytes
/
ci.yml
File metadata and controls
42 lines (34 loc) · 986 Bytes
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
# SPDX-License-Identifier: MPL-2.0-or-later
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install GNAT
run: |
sudo apt-get update
sudo apt-get install -y gnat gprbuild
- name: Build
run: |
mkdir -p obj bin
gprbuild -P cloud_sync_tuner.gpr
- name: Upload binary
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: cloud_sync_tuner
path: bin/cloud_sync_tuner
container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Build container (Alpine fallback)
run: |
docker build -f Containerfile.alpine-fallback -t cloud-sync-tuner:test .