Skip to content
Closed
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
69 changes: 3 additions & 66 deletions .github/workflows/s3-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,76 +2,13 @@ name: s3-release

on:
push:
branches:
- master
- 'releases/**'
tags:
- v*

jobs:
build:
strategy:
fail-fast: false
matrix:
target:
- { name: linux, os: ubuntu-latest }
- { name: macos, os: macOS-latest }
- { name: windows, os: windows-latest }

name: Build node on ${{ matrix.target.os }}
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v3
- name: Cache sccache results
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.cargo/cache
key: ${{ runner.os }}-0001
- name: Build ${{ matrix.target.os }}
run: |
rustup check
case "$OSTYPE" in
msys)
echo "Windows doesn't like it when rustup updates itself"
rustup update --no-self-update stable
;;
*)
echo "Linux and macOS don't need manual suppression of rustup self update"
rustup update stable
;;
esac
rustup check
rustup component add rustfmt
rustup component add clippy
./ci/all.sh
./ci/multinode_integration_test.sh
./ci/collect_results.sh
shell: bash
- name: Publish ${{ matrix.target.os }}
uses: actions/upload-artifact@v3
with:
name: Node-${{ matrix.target.name }}
path: results/generated/bin
deploy_to_s3:
needs: ["build"]
run_if:
if: startsWith(github.head_ref, 'v*')
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
id: download
- name: Display structure of downloaded files
run: ls -R
- name: 'Echo download path'
run: echo ${{steps.download.outputs.download-path}}
- name: S3 Sync
uses: jakejarvis/s3-sync-action@v0.5.1
with:
args: --acl private --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'
DEST_DIR: 'Node/latest'
SOURCE_DIR: ${{ steps.download.outputs.download-path }}
run: echo ${{github.head_ref}}
8 changes: 4 additions & 4 deletions automap/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "node"
version = "0.6.2"
version = "0.6.3"
license = "GPL-3.0-only"
authors = ["Dan Wiebe <dnwiebe@gmail.com>", "MASQ"]
copyright = "Copyright (c) 2019, MASQ (https://masq.ai) and/or its affiliates. All rights reserved."
Expand Down Expand Up @@ -105,4 +105,4 @@ cargo-bundle = "0.4.0"
expose_test_privates = []

#[profile.release]
#opt-level = 0
#opt-level = 0