-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (28 loc) · 1.06 KB
/
osx.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: OSX Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: tag version date
run: /bin/sh ./tag.sh
- name: Install packages
run: brew install gcc@11 autoconf automake libtool binutils ;
- name: change Makefile for OSX
run : rm louvain-generic/Makefile ; cp louvain-generic/Makefile.osx louvain-generic/Makefile
- name: build
run: export AR='gcc-ar-11'; export NM='gcc-nm-11'; export RANLIB='gcc-ranlib-11'; export CXX='g++-11'; export CC='gcc-11' ; ./build_louvain.sh
- name: rename
run: mv website/louvain_linux.tar.gz website/louvain_osx.tar.gz
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: osx # The branch the action should deploy to.
folder: website/ # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch
single-commit: true