-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (32 loc) · 938 Bytes
/
Copy pathc-cpp.yml
File metadata and controls
37 lines (32 loc) · 938 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
name: openSUSE Tumbleweed CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: registry.opensuse.org/opensuse/tumbleweed:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Refresh repositories and install dependencies
run: |
zypper --non-interactive refresh
zypper --non-interactive install -y \
gcc make glibc-devel \
rpm-config-SUSE \
bash \
coreutils \
findutils
- name: Run build or test scripts
run: |
echo "Running tasks inside openSUSE Tumbleweed..."
set -e
make
mkdir -p $GITHUB_WORKSPACE/buildroot
make install DESTDIR=$GITHUB_WORKSPACE/buildroot
find $GITHUB_WORKSPACE/buildroot