Skip to content
This repository was archived by the owner on Sep 11, 2022. It is now read-only.

Commit

Permalink
⬆️ Update Qt to v6.3.0 and gRPC to v1.45.2
Browse files Browse the repository at this point in the history
  • Loading branch information
database64128 committed Apr 14, 2022
1 parent 3f1fff1 commit 3bae8f6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
8 changes: 5 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@ on:
jobs:
publish_nightly:
name: Publish nightly
strategy:
fail-fast: false
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:base-devel

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Run build script
run: bash ./build-static.sh

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"

- name: Package
env:
ZSTD_CLEVEL: 19
Expand All @@ -40,6 +41,7 @@ jobs:
tar -acf ../qv2ray-static-build-deps-nightly-${{ steps.date.outputs.date }}-archlinux-x86_64.tar.zst .
cd ../QvMeta-build/installed
tar -acf ../../qv2ray-static-bin-nightly-${{ steps.date.outputs.date }}-archlinux-x86_64.tar.zst .
- name: Upload nightly release assets
uses: svenstaro/upload-release-action@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions build-static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ pacman -Syu --needed --noconfirm git cmake ninja \
libxcomposite \
abseil-cpp c-ares re2

curl -LO https://github.com/Shadowsocks-NET/qt-static-build/releases/download/v6.2.3/qt-somewhere-static-v6.2.3-archlinux-x86_64.tar.zst
curl -LO https://github.com/Shadowsocks-NET/qt-static-build/releases/download/v6.3.0/qt-somewhere-static-v6.3.0-archlinux-x86_64.tar.zst
mkdir static-installed
tar -C static-installed -xf qt-somewhere-static-v6.2.3-archlinux-x86_64.tar.zst
tar -C static-installed -xf qt-somewhere-static-v6.3.0-archlinux-x86_64.tar.zst

git clone https://github.com/grpc/grpc.git --branch v1.44.0 --recursive --verbose --depth 1
git clone https://github.com/grpc/grpc.git --branch v1.45.2 --recursive --verbose --depth 1
mkdir grpc-build && cd grpc-build
cmake ../grpc \
-DBUILD_SHARED_LIBS=OFF \
Expand Down

0 comments on commit 3bae8f6

Please sign in to comment.