Skip to content

Commit

Permalink
chore: disable arm build for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ereio committed Dec 27, 2021
1 parent addd7f0 commit 23e90e8
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,48 +143,48 @@ steps:
- tea login add -u https://git.syphon.org
- tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-linux" --asset ./syphon.nightly.linux.x64.tar.gz
---
kind: pipeline
type: docker
name: linux nightly (arm64)
platform:
os: linux
arch: arm64
trigger:
branch:
- dev
- main
event:
- push
steps:
- name: build linux
image: cirrusci/flutter:2.8.0
commands:
# Install dependencies
- apt-get update -y
- apt-get install -y cmake ninja-build clang pkg-config libgtk-3-dev liblzma-dev libblkid-dev libsecret-1-dev libolm-dev libolm3 libsqlite3-dev libjsoncpp-dev
- git submodule update --init --recursive
# Set up flutter config
- flutter config --no-analytics
- flutter pub get
- flutter pub run build_runner build --delete-conflicting-outputs
- flutter config --enable-linux-desktop
# Build the linux app exec
- flutter build linux --release
- cp -a /usr/lib/x86_64-linux-gnu/libjsoncpp.so* build/linux/x64/release/bundle/lib/
- tar -cvzf syphon.nightly.linux.x64.tar.gz -C build/linux/x64/release/bundle .
# kind: pipeline
# type: docker
# name: linux nightly (arm64)
# platform:
# os: linux
# arch: arm64
# trigger:
# branch:
# - dev
# - main
# event:
# - push
# steps:
# - name: build linux
# image: cirrusci/flutter:2.8.0
# commands:
# # Install dependencies
# - apt-get update -y
# - apt-get install -y cmake ninja-build clang pkg-config libgtk-3-dev liblzma-dev libblkid-dev libsecret-1-dev libolm-dev libolm3 libsqlite3-dev libjsoncpp-dev
# - git submodule update --init --recursive
# # Set up flutter config
# - flutter config --no-analytics
# - flutter pub get
# - flutter pub run build_runner build --delete-conflicting-outputs
# - flutter config --enable-linux-desktop
# # Build the linux app exec
# - flutter build linux --release
# - cp -a /usr/lib/x86_64-linux-gnu/libjsoncpp.so* build/linux/x64/release/bundle/lib/
# - tar -cvzf syphon.nightly.linux.x64.tar.gz -C build/linux/x64/release/bundle .

- name: release linux
image: golang:1.15
environment:
GITEA_SERVER_TOKEN:
from_secret: GITEA_API_TOKEN
commands:
# Modify the existing release and add the android apk
- go get code.gitea.io/tea
- go install code.gitea.io/tea
- tea login add -u https://git.syphon.org
- tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-linux" --asset ./syphon.nightly.linux.x64.tar.gz
---
# - name: release linux
# image: golang:1.15
# environment:
# GITEA_SERVER_TOKEN:
# from_secret: GITEA_API_TOKEN
# commands:
# # Modify the existing release and add the android apk
# - go get code.gitea.io/tea
# - go install code.gitea.io/tea
# - tea login add -u https://git.syphon.org
# - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-linux" --asset ./syphon.nightly.linux.x64.tar.gz
# ---
kind: pipeline
type: docker
name: linux branch build
Expand Down

0 comments on commit 23e90e8

Please sign in to comment.