Comments (4)
@rafal1137 Can you provide a workflow yaml so we can reproduce the issue?
from run-on-arch-action.
@elijahr It starts from here: https://github.com/etlegacy/etlegacy/blob/new_actions_rpi/.github/workflows/build.yml#L104
Part of the CI Detection: https://github.com/etlegacy/etlegacy/blob/master/cmake/ETLVersion.cmake#L99
As described below:
message(STATUS "Detected build running in CI, using full version string instead")
But it does build as:
Scanning dependencies of target mod_pk3
[100%] Generating legacy/legacy_2.76-dirty.pk3
Sha commit should be included instead of -dirty
from run-on-arch-action.
@rafal1137 using the following simplified config in my own repo, I was able to see that the CI
env var is passed as true
:
Config:
name: test
on: push
jobs:
test:
runs-on: ubuntu-16.04
strategy:
matrix:
include:
- arch: armv7
distro: buster
steps:
- uses: uraimo/[email protected]
name: Build on ${{ matrix.arch }}
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
run: |
env
Output:
Sending build context to Docker daemon 36.86kB
Step 1/3 : FROM arm32v7/debian:buster
buster: Pulling from arm32v7/debian
4c2a0a79594a: Pulling fs layer
4c2a0a79594a: Verifying Checksum
4c2a0a79594a: Download complete
4c2a0a79594a: Pull complete
Digest: sha256:0db436c027eb321e2634fa43462126fd7aa6ac206b3591cf051c2324613597b2
Status: Downloaded newer image for arm32v7/debian:buster
---> cb4ead9bbfa5
Step 2/3 : COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
---> 36100f696f0d
Step 3/3 : RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
Warning: rning] The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64) and no specific platform was requested
---> Running in 1ffaf2cbf9c6
Removing intermediate container 1ffaf2cbf9c6
---> fed70d0c28ff
Successfully built fed70d0c28ff
Successfully tagged run-on-arch-elijahr-lintball-test-armv7-buster:latest
WARNING: The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64) and no specific platform was requested
_=/usr/bin/env
DEBIAN_FRONTEND=noninteractive
GITHUB_WORKFLOW=test
GITHUB_HEAD_REF=
CI=true
GITHUB_BASE_REF=
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUNNER_WORKSPACE=/home/runner/work/lintball
GITHUB_REPOSITORY=elijahr/lintball
RUNNER_TOOL_CACHE=/opt/hostedtoolcache
SHLVL=1
GITHUB_SERVER_URL=https://github.com
TERM=xterm
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_ACTOR=elijahr
GITHUB_RUN_ID=577318931
GITHUB_EVENT_NAME=push
GITHUB_EVENT_PATH=/home/runner/work/_temp/_github_workflow/event.json
RUNNER_TEMP=/home/runner/work/_temp
GITHUB_API_URL=https://api.github.com
HOME=/root
GITHUB_REF=refs/heads/run-on-arch-test
GITHUB_SHA=0ff7945361ba32b0421866905b861b530430fb2d
GITHUB_ACTIONS=true
***
GITHUB_RUN_NUMBER=312
GITHUB_ACTION=uraimorun-on-arch-action
HOSTNAME=a7ede40cb195
GITHUB_WORKSPACE=/home/runner/work/lintball/lintball
The issue might be in the makefile or easybuild.sh.
from run-on-arch-action.
@elijahr
Pipeline:
easybuild.sh -> cmake -> make
Other containers so to speak have no such issue and build is correct
Scanning dependencies of target mod_pk3
[100%] Generating legacy/legacy_v2.76-1620-g0cf1042.pk3
Meaby its related to architechture ?
PS: I did run another rpi container on my local machine and yeah I can confirm that arch is somehow involved in it.
from run-on-arch-action.
Related Issues (20)
- Using Actions HOT 4
- Small mistake HOT 2
- How to use a base_image with multiple-platforms for aarch64? HOT 5
- The process '/home/runner/work/_actions/uraimo/run-on-arch-action/v2/src/run-on-arch.sh' failed HOT 3
- feature request: Firecracker VM support HOT 1
- can't use cargo in this action HOT 3
- nodejs cef build is failed HOT 1
- /root/run-on-arch-install.sh: not found HOT 5
- Multiple steps in a job HOT 7
- Support for actions steps instead of just shell commands HOT 1
- Error while setting up Go
- Failure to find and start dockers HOT 1
- The requested image's platform does not match the detected host platform HOT 1
- Need pinned Alpine Linux versions, e.g., v3.17 HOT 2
- not enough free disk space? HOT 4
- githubToken is required HOT 1
- Tag error for version 2.5.1 =>v.2.5.1 HOT 1
- Container always rebuilt HOT 2
- How can I copy files to host?
- Mounted Volume only gets updated after the `run` step completed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from run-on-arch-action.