Skip to content
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

Update master to v5.1.0 #11

Merged
merged 6 commits into from
Nov 6, 2023
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build release

on:
on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- name: Check out repository code
Expand All @@ -22,16 +22,18 @@ jobs:

- name: Download SDK
run: |
curl -H 'Authorization: token ${{ secrets.YOUR_TOKEN }}' -L https://github.com/hestiia-engineering/yocto-cooker-myeko/releases/download/v1.9.0/poky-glibc-x86_64-myeko-image-dev-cortexa8hf-neon-myeko-board-toolchain-4.0.12.sh
curl -L -H "Accept: application/octet-stream" -H "Authorization: Bearer ${{ secrets.GIT_TOKEN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/hestiia-engineering/yocto-cooker-myeko/releases/assets/133811840 -o sdk.sh
- name: Extract Yocto SDK
run: |
./poky-glibc-x86_64-myeko-image-dev-cortexa8hf-neon-myeko-board-toolchain-4.0.12.sh -d ./sdk -y
chmod +x sdk.sh
./sdk.sh -d ./sdk -y -D
- name: Source Yocto SDK Environment
run: |
source sdk/environment-setup-cortexa8hf-neon-poky-linux-gnueabi

- name: Build the project
run: |
source ./sdk/environment-setup-cortexa8hf-neon-poky-linux-gnueabi
mkdir -p ./build_yocto && cd build_yocto
../autogen.sh
CFLAGS="-O2 -Wall -fcommon" ../configure ${CONFIGURE_FLAGS} --enable-bm1397
Expand All @@ -53,6 +55,4 @@ jobs:
run: |
RELEASE_TAG=$GITHUB_REF_NAME
# Upload artifacts, potentially overwriting existing files (--clobber)
echo $ARTEFACT_LIST
ls -lah $ARTEFACT_LIST
gh release upload $RELEASE_TAG $ARTEFACT_LIST --clobber
gh release upload $RELEASE_TAG ./build_yocto/cgminer --clobber
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## [5.1.1](https://github.com/hestiia-engineering/cgminer-hestiia-edition/compare/v5.1.0...v5.1.1) (2023-11-06)


### Bug Fixes

* uploading asset after build ([7f58bf5](https://github.com/hestiia-engineering/cgminer-hestiia-edition/commit/7f58bf5c0255824f9859d0e44129c7c4d79faad7))

## [5.1.0](https://github.com/hestiia-engineering/cgminer-hestiia-edition/compare/v5.0.4...v5.1.0) (2023-11-06)


### Features

* setup CI ([f52b7bc](https://github.com/hestiia-engineering/cgminer-hestiia-edition/commit/f52b7bcb61acdbefcb9c091a6d4022239311ce54))


### Bug Fixes

* Change gpiopin for yocto image compatibility ([712be40](https://github.com/hestiia-engineering/cgminer-hestiia-edition/commit/712be408ca105f5ac00ce0772df81ec8b245ccd2))

## [5.0.4](https://github.com/hestiia-engineering/cgminer-hestiia-edition/compare/v5.0.3...v5.0.4) (2023-11-06)


Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.4
5.1.1
Loading