diff --git a/.github/workflows/MacOSX-CI-test.yml b/.github/workflows/MacOSX-CI-test.yml new file mode 100644 index 0000000..3cc55cf --- /dev/null +++ b/.github/workflows/MacOSX-CI-test.yml @@ -0,0 +1,26 @@ +name: MacOSX CI Test Release + +on: + workflow_dispatch: + push: + tags: + - 'v2023.*.*' + +permissions: write-all + +jobs: + ci-test-release: + runs-on: [macos-12] # , ARM64] + + steps: + - name: Ton Plug Tap + run: brew tap chbinousamy/homebrew-ton + + - name: Ton Install + run: brew install ton + + - name: Ton Audit + run: brew audit --strict ton + + - name: Ton Test + run: brew test ton diff --git a/.github/workflows/Ubuntu-CI-test.yml b/.github/workflows/Ubuntu-CI-test.yml new file mode 100644 index 0000000..e91e791 --- /dev/null +++ b/.github/workflows/Ubuntu-CI-test.yml @@ -0,0 +1,33 @@ +name: Ubuntu CI Test Release + +on: + workflow_dispatch: + push: + tags: + - 'v2023.*.*' + +permissions: write-all + +jobs: + ci-test-release: + runs-on: [ubuntu-latest] # , ARM64] + + steps: + - name: Install homebrew + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH + + - name: Ton Plug Tap + run: | + brew tap chbinousamy/homebrew-ton + brew update + + - name: Ton Install + run: brew install ton + + - name: Ton Audit + run: brew audit --strict ton + + - name: Ton Test + run: brew test ton diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 500a308..4fd7136 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -6,7 +6,7 @@ permissions: write-all jobs: create-release: - runs-on: macos-12 + runs-on: [macos-12] # , ARM64] steps: - uses: actions/checkout@v3 @@ -64,3 +64,4 @@ jobs: gh release create --notes "" $LATEST_TAG ./*.tar.gz env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/ton.rb b/ton.rb index b7becb3..8cb87a8 100644 --- a/ton.rb +++ b/ton.rb @@ -1,13 +1,13 @@ class Ton < Formula - desc "A collection of The Open Network core software and utilities." - homepage "http://github.com/ton-blockchain/ton" + desc "Software collection and utilities for TON New DeFi, The Open Network" + homepage "https://github.com/ton-blockchain/ton" if Hardware::CPU.arm? url "https://github.com/ton-blockchain/homebrew-ton/releases/latest/download/ton-brew-arm64.tar.gz" - sha256 "8805791123f2732eb476992b148a87e356f82cf1a48748ffe1dfd34ca9122517" #arm64 + sha256 "78ac5cf06fe4059f91f6db3706bd254fed5d26090901fc844e993cdb3ee6e883" # arm64 else url "https://github.com/ton-blockchain/homebrew-ton/releases/latest/download/ton-brew-x86-64.tar.gz" - sha256 "f75d041416f2b569ee2954a1dd267a03dedab28404ffb9e2b584ecedc3715f28" #amd64 + sha256 "b435ea609f93e566c3590d6247b446e29aa3953a18394517289b87ce8115a75b" # amd64 end license "LGPL-2.0-only" @@ -16,4 +16,8 @@ def install bin.install Dir["bin/*"] lib.install Dir["lib/*"] end + + test do + system "true" + end end