Skip to content

Commit 7c56570

Browse files
authored
update ubuntu build container (#93)
This PR is to update ubuntu build container to build `sbp2rinex` compatible with more linux platforms (GLIBC).
1 parent 0ef584d commit 7c56570

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ jobs:
1212
name: Run Checks and Build
1313
strategy:
1414
matrix:
15-
os:
16-
- windows-latest
17-
- ubuntu-20.04
18-
- macos-latest
15+
include:
16+
- os: windows-latest
17+
- os: ubuntu-latest
18+
container: ubuntu:20.04
19+
- os: macos-latest
1920
runs-on: ${{ matrix.os }}
21+
container: ${{ matrix.container }}
2022
steps:
23+
- name: Install build dependencies (Ubuntu container)
24+
if: matrix.container == 'ubuntu:20.04'
25+
run: |
26+
apt-get update && apt-get install -y build-essential git p7zip-full
27+
2128
- name: Checkout source
2229
uses: actions/checkout@v4
2330
with:
@@ -69,7 +76,7 @@ jobs:
6976
needs:
7077
- build
7178
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
72-
runs-on: ubuntu-20.04
79+
runs-on: ubuntu-latest
7380
steps:
7481
- name: Store git tag and date vars.
7582
run: |

0 commit comments

Comments
 (0)