mirror of
https://github.com/ivabus/pantry
synced 2024-11-13 03:55:18 +03:00
+deno (#73)
This commit is contained in:
parent
16a011a819
commit
b63e6028ee
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -54,12 +54,12 @@ jobs:
|
||||||
ln -s $GITHUB_WORKSPACE/pantry /opt/tea.xyz/var/pantry
|
ln -s $GITHUB_WORKSPACE/pantry /opt/tea.xyz/var/pantry
|
||||||
mkdir .git # no git in our image
|
mkdir .git # no git in our image
|
||||||
echo "--insecure" >> ~/.curlrc # our curl is broke somehow for rust bootstrap
|
echo "--insecure" >> ~/.curlrc # our curl is broke somehow for rust bootstrap
|
||||||
|
apt-get --yes install ca-certificates
|
||||||
;;
|
;;
|
||||||
macos-11)
|
macos-11)
|
||||||
sudo mkdir -p /opt/tea.xyz/var
|
sudo mkdir -p /opt/tea.xyz/var
|
||||||
sudo chown -R $(whoami):staff /opt
|
sudo chown -R $(whoami):staff /opt
|
||||||
ln -s $GITHUB_WORKSPACE/pantry /opt/tea.xyz/var/pantry
|
ln -s $GITHUB_WORKSPACE/pantry /opt/tea.xyz/var/pantry
|
||||||
mkdir -p /opt/deno.land/v1.23.3/.tricksy
|
|
||||||
|
|
||||||
# HACKs for teaxyz/setup since it currently requires the working dir to be a srcroot
|
# HACKs for teaxyz/setup since it currently requires the working dir to be a srcroot
|
||||||
cp README.md ..
|
cp README.md ..
|
||||||
|
@ -69,9 +69,6 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
mkdir -p projects/deno.land
|
|
||||||
echo 'versions: [1.23.3]' > projects/deno.land/package.yml
|
|
||||||
|
|
||||||
- name: HACKS
|
- name: HACKS
|
||||||
uses: denoland/setup-deno@v1
|
uses: denoland/setup-deno@v1
|
||||||
if: ${{ matrix.os == 'macos-11' }}
|
if: ${{ matrix.os == 'macos-11' }}
|
||||||
|
|
33
projects/deno.land/package.yml
Normal file
33
projects/deno.land/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/denoland/deno/archive/refs/tags/v{{ version }}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
relocatable: true
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: denoland/deno
|
||||||
|
ignore:
|
||||||
|
- v1.24.z #FIXME compile issues
|
||||||
|
- v1.23.4 #FIXME ^^
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/deno
|
||||||
|
|
||||||
|
interprets:
|
||||||
|
- .ts
|
||||||
|
- .js
|
||||||
|
|
||||||
|
build:
|
||||||
|
script: |
|
||||||
|
cargo build --release
|
||||||
|
mkdir -p "{{ prefix }}"/bin
|
||||||
|
mv target/release/deno "{{ prefix }}"/bin
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: 1
|
||||||
|
# llvm.org: 13 #FIXME macOS/aarch64 requires this AND fails to build with v14
|
||||||
|
curl.se: '*' # required to download v8 (python is another option)
|
||||||
|
tea.xyz/gx/make: '*' # required to build the libffi parts
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
|
||||||
|
test:
|
||||||
|
script: deno --version
|
Loading…
Reference in a new issue