mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
Only code from other branches should be pushed to master, so we can skip CI.
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
- '*/*'
|
|
- '!master'
|
|
|
|
jobs:
|
|
unix:
|
|
name: compile - Ubuntu
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Configure
|
|
run: mkdir build && cd build && cmake ..
|
|
- name: Build
|
|
run: cmake --build build
|
|
|
|
mac:
|
|
name: compile - MacOS
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Dependancies
|
|
run: brew install openssl
|
|
- name: Configure
|
|
run: mkdir build && cd build && cmake -D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 ..
|
|
- name: Build
|
|
run: cmake --build build
|
|
|
|
win:
|
|
name: compile - windows
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Dependancies
|
|
run: |
|
|
mkdir build; cd build
|
|
Invoke-WebRequest -Uri https://mirror.firedaemon.com/OpenSSL/openssl-1.1.1e-dev.zip -OutFile openssl.zip
|
|
Expand-Archive openssl.zip
|
|
- name: Configure
|
|
run: cd build; cmake -D OPENSSL_ROOT_DIR="$pwd\openssl\openssl-1.1\x64" ..
|
|
- name: Build
|
|
run: cmake --build build
|