Skip to content

Commit

Permalink
!25 Gitee: tune apt install and ci tigger rule
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Aug 7, 2024
1 parent ccdf7a2 commit d54d566
Showing 1 changed file with 21 additions and 13 deletions.
34 changes: 21 additions & 13 deletions .workflow/ci-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,32 @@ name: ci-debian
displayName: ci-debian
triggers:
trigger: auto
pr:
push:
branches:
precise:
- main
push:
paths:
precise:
- goldfish/
- tests/
- src/
- xmake/packages/
- xmake.lua
pr:
branches:
precise:
- main

paths:
precise:
- goldfish/
- tests/
- src/
- xmake/packages/
- xmake.lua
variables:
XMAKE_MAIN_REPO: 'https://gitee.com/tboox/xmake-repo.git'
XMAKE_BINARY_REPO: 'https://gitee.com/xmake-mirror/build-artifacts.git'
XMAKE_ROOT: y


XMAKE_MAIN_REPO: https://gitee.com/tboox/xmake-repo.git
XMAKE_BINARY_REPO: https://gitee.com/xmake-mirror/build-artifacts.git
XMAKE_ROOT: 'y'
stages:
- name: build_and_test
displayName: build_and_test
Expand All @@ -27,21 +38,18 @@ stages:
steps:
- step: execute@docker
name: execute_by_docker
displayName: 构建并测试金鱼Scheme
displayName: 构建并测试
certificate: ''
image: hub.atomgit.com/amd64/debian:bookworm
command:
- bash .workflow/ustc_debian822_setup.sh
- apt-get update
- apt-get install -y xmake git 7zip unzip curl build-essential
- apt-get install -y xmake git 7zip unzip curl g++
- xmake repo --update
- sed -i '/github\.com/d' xmake/packages/s/s7/xmake.lua
- sed -i '/github\.com/d' xmake/packages/t/tbox/xmake.lua
- xmake build --yes -vD goldfish
- bin/goldfish -l tests/test_all.scm
caches: [
build/.build_cache,
]
notify: []
strategy:
retry: '0'
Expand Down

0 comments on commit d54d566

Please sign in to comment.