Skip to content

Commit

Permalink
[ci] Merge linux and macOS build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaut committed Jan 22, 2024
1 parent 68c9217 commit e7be3de
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/build-osx.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Build Linux binaries
name: Build orbetto

on: [push, pull_request]

jobs:
linux:
name: Build orbetto on Linux
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
Expand All @@ -22,4 +23,23 @@ jobs:
path: ext/orbetto/build/install/**/*
if-no-files-found: error

jobs:
osx:
name: Build orbetto on macOS
runs-on: macos-13
steps:
- run: brew install zmq sdl2 libelf protobuf meson ninja capstone dwarfutils
- uses: actions/checkout@v3
- run: meson setup ./build
working-directory: ext/orbetto
- run: ninja -C ./build
working-directory: ext/orbetto
- run: meson install -C ./build --destdir ./install
working-directory: ext/orbetto
- uses: actions/upload-artifact@v3
with:
name: orbetto-osx
path: ext/orbetto/build/install/**/*
if-no-files-found: error


0 comments on commit e7be3de

Please sign in to comment.