mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(dart) (#4978)
* fix(dart) let's see what the deal is here. closes #4878 closes #4976 * ok, what about half measures?
This commit is contained in:
parent
8a5c69f89d
commit
5e35d79d0a
1 changed files with 7 additions and 4 deletions
|
@ -11,13 +11,13 @@ build:
|
||||||
python.org: '>=3<3.12'
|
python.org: '>=3<3.12'
|
||||||
tukaani.org/xz: '*'
|
tukaani.org/xz: '*'
|
||||||
git-scm.org: '*'
|
git-scm.org: '*'
|
||||||
linux:
|
|
||||||
# required for fetch (pgrep)
|
|
||||||
gitlab.com/procps-ng/procps: '*'
|
|
||||||
script:
|
script:
|
||||||
- run: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
- run: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||||
working-directory: $SRCROOT/resources
|
working-directory: $SRCROOT/resources
|
||||||
- fetch --no-history dart
|
|
||||||
|
- gclient config --name sdk https://dart.googlesource.com/sdk.git@{{version}}
|
||||||
|
- gclient sync --no-history
|
||||||
|
|
||||||
- run: ./tools/build.py --no-goma --mode=release --arch=$ARCH create_sdk
|
- run: ./tools/build.py --no-goma --mode=release --arch=$ARCH create_sdk
|
||||||
working-directory: sdk
|
working-directory: sdk
|
||||||
- mkdir -p {{prefix}}/libexec
|
- mkdir -p {{prefix}}/libexec
|
||||||
|
@ -30,6 +30,7 @@ build:
|
||||||
ln -s ./../libexec/bin/dartaotruntime dartaotruntime
|
ln -s ./../libexec/bin/dartaotruntime dartaotruntime
|
||||||
working-directory: '{{prefix}}/bin'
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
|
DEPOT_TOOLS_UPDATE: 0
|
||||||
PATH: $SRCROOT/resources/depot_tools:$PATH
|
PATH: $SRCROOT/resources/depot_tools:$PATH
|
||||||
aarch64:
|
aarch64:
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
|
@ -41,5 +42,7 @@ provides:
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
- dart create dart-test
|
- dart create dart-test
|
||||||
|
- run: dart run
|
||||||
|
working-directory: dart-test
|
||||||
- run: dart run | grep "Hello world"
|
- run: dart run | grep "Hello world"
|
||||||
working-directory: dart-test
|
working-directory: dart-test
|
||||||
|
|
Loading…
Reference in a new issue