Skip to content

chore(deps-dev): bump globals from 16.1.0 to 16.3.0 #2201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions build-config/buildspec-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
version: 0.2

env:
shell: bash

phases:
install:
run-as: root
commands:
- dnf update -y
- dnf install -y python cmake bash zsh unzip git jq
- dnf swap -y gnupg2-minimal gnupg2-full
pre_build:
commands:
- export HOME=/home/codebuild-user
- export PATH="$HOME/.local/bin:$PATH"
- mkdir -p "$HOME/.local/bin"
# Create fish config dir to prevent rustup from failing
- mkdir -p "$HOME/.config/fish/conf.d"
# Install cargo
- curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- . "$HOME/.cargo/env"
- rustup toolchain install `cat rust-toolchain.toml | grep channel | cut -d '=' -f2 | tr -d ' "'`
# Install cross only if the musl env var is set and not null
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross; fi
# Install python/node via mise (https://mise.jdx.dev/continuous-integration.html)
- curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://mise.run | sh
- mise install
- eval "$(mise activate bash --shims)"
# Install python deps
- pip3 install -r build-scripts/requirements.txt
build:
commands:
- python3.11 build-scripts/qchatmain.py build

artifacts:
discard-paths: "yes"
base-directory: "build"
files:
- ./*.tar.gz
- ./*.zip
# Hashes
- ./*.sha256
# Signatures
- ./*.asc
- ./*.sig

41 changes: 41 additions & 0 deletions build-config/buildspec-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: 0.2

phases:
pre_build:
commands:
- whoami
- echo "$HOME"
- echo "$SHELL"
- pwd
- ls
- mkdir -p "$HOME/.local/bin"
- export PATH="$HOME/.local/bin:$PATH"
# Create fish config dir to prevent rustup from failing
- mkdir -p "$HOME/.config/fish/conf.d"
# Install cargo
- export CARGO_HOME="$HOME/.cargo"
- curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- . "$HOME/.cargo/env"
- rustup toolchain install `cat rust-toolchain.toml | grep channel | cut -d '=' -f2 | tr -d ' "'`
# Install cross only if the musl env var is set and not null
- if [ ! -z "${AMAZON_Q_BUILD_MUSL:+x}" ]; then cargo install cross --git https://github.com/cross-rs/cross; fi
# Install python/node via mise (https://mise.jdx.dev/continuous-integration.html)
- curl --retry 5 --proto '=https' --tlsv1.2 -sSf https://mise.run | sh
- mise install
- eval "$(mise activate zsh --shims)"
# Install python deps
- python3 -m venv scripts/.env
- source build-scripts/.env/bin/activate
- pip3 install -r build-scripts/requirements.txt
build:
commands:
- python3 build-scripts/qchatmain.py build --skip-lints --skip-tests --not-release

artifacts:
discard-paths: "yes"
base-directory: "build"
files:
- ./*.zip
# Hashes
- ./*.sha256

Loading
Loading