Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: CI
on:
push:
pull_request:

jobs:
build-freebsd:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
permissions:
contents: read
runs-on: ubuntu-latest
Expand All @@ -25,6 +28,8 @@ jobs:
cargo build -p framework_tool

build:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Build Linux
runs-on: ubuntu-24.04
env:
Expand Down Expand Up @@ -68,6 +73,8 @@ jobs:
run: git diff --exit-code

build-uefi:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Build UEFI
runs-on: ubuntu-24.04
env:
Expand Down Expand Up @@ -107,6 +114,8 @@ jobs:
path: framework_uefi/build/x86_64-unknown-uefi/UEFI-Shell-fwk.iso

test-uefi:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Test UEFI
runs-on: ubuntu-24.04
env:
Expand All @@ -126,6 +135,8 @@ jobs:
run: make -C framework_uefi test

build-windows:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Build Windows
runs-on: windows-2022
env:
Expand Down Expand Up @@ -170,6 +181,8 @@ jobs:


test:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Test Suite
runs-on: ubuntu-latest
env:
Expand All @@ -190,6 +203,8 @@ jobs:
run: cargo test -p framework_lib

lints:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Lints
runs-on: ubuntu-24.04
env:
Expand Down Expand Up @@ -228,6 +243,8 @@ jobs:

# Just make sure doc generation works
doc:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Generate docs
runs-on: ubuntu-24.04
env:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ on:
push:
# tags:
# - 'v*'
pull_request:
workflow_dispatch:

jobs:
build-deb:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Build .deb
runs-on: ubuntu-24.04
# env:
Expand Down Expand Up @@ -36,6 +39,8 @@ jobs:
path: target/debian/*.deb

build-rpm:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Build .rpm
runs-on: ubuntu-24.04
# env:
Expand Down Expand Up @@ -70,6 +75,8 @@ jobs:
path: target/generate-rpm/*.rpm

build-snap:
# Pushes to this repo already build; on pull requests only build forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
name: Build Snap
runs-on: ubuntu-24.04
steps:
Expand Down
Loading