forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 1.09 KB
/
ubuntu_18.04_32bit.yml
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
name: Ubuntu 18.04 32bit build
on:
push:
paths-ignore:
- 'doc/**'
branches-ignore:
- 'backport**'
pull_request:
paths-ignore:
- 'doc/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ubuntu_18_04_32bit_build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
id: cache
with:
path: |
${{ github.workspace }}/ccache.tar.gz
key: ${{ runner.os }}-cache-ubuntu-18.04-32bit-${{ github.run_id }}
restore-keys: ${{ runner.os }}-cache-ubuntu-18.04-32bit-
- name: Build
run: docker run --privileged=true -e CI -e WORK_DIR="$PWD" -v $PWD:$PWD -v /var/run/docker.sock:/var/run/docker.sock i386/ubuntu:18.04 $PWD/.github/workflows/ubuntu_18.04_32bit/start.sh