forked from cory/tildefriends
build: +rsync. Formatting yaml.
This commit is contained in:
parent
9cb5cbcde9
commit
65b31e14f9
@ -14,7 +14,8 @@ jobs:
|
||||
- /opt/keys:/opt/keys
|
||||
- /opt/deps:/opt/deps
|
||||
steps:
|
||||
- run: >
|
||||
- name: Install build dependencies
|
||||
run: >
|
||||
apt update && apt install -y \
|
||||
build-essential \
|
||||
clang \
|
||||
@ -29,18 +30,23 @@ jobs:
|
||||
libgpgme11 \
|
||||
libssl-dev \
|
||||
mingw-w64 \
|
||||
rsync \
|
||||
unzip \
|
||||
zip \
|
||||
zlib1g-dev
|
||||
- name: check out code
|
||||
- name: Get code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- run: ln -s /opt/keys .keys
|
||||
- run: ln -s /opt/deps/ios_toolchain deps/ios_toolchain
|
||||
- name: Setup environment
|
||||
run: |
|
||||
ln -s /opt/keys .keys
|
||||
ln -s /opt/deps/ios_toolchain deps/ios_toolchain
|
||||
- name: Build documentation
|
||||
run: mkdir -p out/html/; make docs
|
||||
- run: rsync -e "ssh -i /opt/keys/ssh.ed25519" out/html/ tfdocs@pildefriends:docs/html/
|
||||
run: |
|
||||
mkdir -p out/html/
|
||||
make docs
|
||||
rsync -e "ssh -i /opt/keys/ssh.ed25519" out/html/ tfdocs@pildefriends:docs/html/
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
@ -50,17 +56,12 @@ jobs:
|
||||
uses: android-actions/setup-android@v3
|
||||
with:
|
||||
packages: 'tools platform-tools build-tools;34.0.0 platforms;android-34 ndk;26.3.11579264'
|
||||
- run: DOCKER_BUILDKIT=1 docker build .
|
||||
- run: ANDROID_SDK=$HOME/.android/sdk make -j`nproc` all dist docs
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: |
|
||||
out/TildeFriends-release.fdroid.apk
|
||||
out/winrelease/tildefriends.standalone.exe
|
||||
out/tildefriends-x86_64.AppImage
|
||||
out/release/tildefriends.standalone
|
||||
out/armrelease/tildefriends.standalone
|
||||
- uses: actions/upload-artifact@v3
|
||||
- name: Docker build
|
||||
run: DOCKER_BUILDKIT=1 docker build .
|
||||
- name: Build
|
||||
run: ANDROID_SDK=$HOME/.android/sdk make -j`nproc` all dist docs
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dist
|
||||
path: dist/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user