Skip to content

Commit

Permalink
macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
btj committed May 12, 2021
1 parent 9012e53 commit 70e7838
Showing 1 changed file with 22 additions and 31 deletions.
53 changes: 22 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,44 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
build_ubuntu:
runs-on: ubuntu-18.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Perform setup actions
- name: Build setup
run: ./setup-build.sh

- name: Build VFDeps
- name: Build
run: ./build.sh

- name: Upload Package
uses: actions/[email protected]
with:
# name: # optional, default is artifact

# A file, directory or wildcard pattern that describes what to upload
name: binary_package
path: upload/*

# The desired behavior if no files are found using the provided path.
# Available Options:
# warn: Output a warning but do not fail the action
# error: Fail the action with an error message
# ignore: Do not output any warnings or errors, the action does not fail
# if-no-files-found: # optional, default is warn

# Duration after which artifact will expire in days. 0 means using default retention.
# Minimum 1 day. Maximum 90 days unless changed from the repository settings page.

# retention-days: # optional
build_macos:
runs-on: macos-10.15

steps:
- uses: actions/checkout@v2

- name: Build setup
run: ./setup-build.sh

- name: Build
run: ./build.sh

- name: Upload Package
uses: actions/[email protected]
with:
name: binary_package
path: upload/*

0 comments on commit 70e7838

Please sign in to comment.