feat: buildx multi stage #77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build for Linux (Ubuntu)" | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
clang-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo make deps:dev | |
- name: Check formating | |
run: | | |
make format:check | |
linux-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo make deps:build | |
- name: Build the core | |
run: | | |
make build | |
linux-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo make deps:build | |
- name: Build and run tests | |
run: | | |
make test | |
debian-package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo make deps:build | |
- name: Build and run tests | |
run: | | |
make package |