Skip to content

Commit

Permalink
Jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
johto committed Oct 25, 2023
1 parent 11ac026 commit 2e9b608
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/main-ubuntu-jammy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI
on:
push:
branches:
- main
- builds
jobs:
test:
name: Build debug binary Ubuntu Jammy
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
steps:
- name: Check out repository code
uses: actions/checkout@v3

- name: Install curl and certificates
run: apt-get update && apt-get install -y curl ca-certificates

- name: Install packages for building binaries
run: apt-get install -y build-essential

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Build pg_split_dump
run: cargo build --verbose

- name: Archive built pg_split_dump binary
uses: actions/upload-artifact@v3
with:
name: pg_split_dump
path: target/debug/pg_split_dump

- name: Build tar_diff
working-directory: tar_diff
run: cargo build --verbose

- name: Archive built tar_diff binary
uses: actions/upload-artifact@v3
with:
name: tar_diff
path: tar_diff/target/debug/tar_diff

0 comments on commit 2e9b608

Please sign in to comment.