-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nextpnr: restructure a bit and add pkg images (#14)
- Loading branch information
Showing
7 changed files
with
180 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Authors: | ||
# Sebastian Birke <[email protected]> | ||
# Unai Martinez-Corral | ||
# | ||
# Copyright 2019-2021 Unai Martinez-Corral <[email protected]> | ||
|
@@ -43,16 +44,24 @@ jobs: | |
|
||
- run: echo "$(pwd)/.github/bin" >> $GITHUB_PATH | ||
|
||
- run: dockerBuild nextpnr:ice40 nextpnr ice40 | ||
- run: dockerBuild nextpnr:icestorm nextpnr icestorm | ||
- run: dockerBuild nextpnr:ecp5 nextpnr ecp5 | ||
- run: dockerBuild nextpnr:prjtrellis nextpnr prjtrellis | ||
- run: dockerBuild nextpnr nextpnr | ||
- run: dockerBuild pkg:nextpnr-ice40 nextpnr pkg-ice40 | ||
- run: dockerBuild nextpnr:ice40 nextpnr ice40 | ||
- run: dockerBuild nextpnr:icestorm nextpnr icestorm | ||
- run: dockerBuild pkg:nextpnr-ecp5 nextpnr pkg-ecp5 | ||
- run: dockerBuild nextpnr:ecp5 nextpnr ecp5 | ||
- run: dockerBuild nextpnr:prjtrellis nextpnr prjtrellis | ||
- run: dockerBuild pkg:nextpnr-generic nextpnr pkg-generic | ||
- run: dockerBuild nextpnr:generic nextpnr generic | ||
- run: dockerBuild nextpnr nextpnr | ||
|
||
- run: dockerTestPkg nextpnr-ice40 | ||
- run: dockerTest nextpnr:ice40 | ||
- run: dockerTest nextpnr:icestorm | ||
- run: dockerTestPkg nextpnr-ecp5 | ||
- run: dockerTest nextpnr:ecp5 | ||
- run: dockerTest nextpnr:prjtrellis | ||
- run: dockerTestPkg nextpnr-generic | ||
- run: dockerTest nextpnr:generic | ||
- run: dockerTest nextpnr | ||
|
||
- name: Login to DockerHub | ||
|
@@ -62,17 +71,29 @@ jobs: | |
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASS }} | ||
|
||
- run: dockerPush pkg:nextpnr-ice40 | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush nextpnr:ice40 | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush nextpnr:icestorm | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush pkg:nextpnr-ecp5 | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush nextpnr:ecp5 | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush nextpnr:prjtrellis | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush pkg:nextpnr-generic | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush nextpnr:generic | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' | ||
|
||
- run: dockerPush nextpnr | ||
if: github.event_name != 'pull_request' && github.repository == 'hdl/containers' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Authors: | ||
# Sebastian Birke <[email protected]> | ||
# Unai Martinez-Corral | ||
# | ||
# Copyright 2020-2021 Unai Martinez-Corral <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set -e | ||
|
||
cd $(dirname "$0") | ||
|
||
./_env.sh | ||
|
||
./smoke-tests/nextpnr-generic.sh | ||
|
||
./_todo.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/sh | ||
|
||
# Authors: | ||
# Sebastian Birke <[email protected]> | ||
# Unai Martinez-Corral | ||
# | ||
# Copyright 2020-2021 Unai Martinez-Corral <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set -e | ||
|
||
cd $(dirname "$0") | ||
|
||
./_tree.sh | ||
|
||
file /usr/local/bin/nextpnr-ecp5 | ||
|
||
./_todo.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/sh | ||
|
||
# Authors: | ||
# Sebastian Birke <[email protected]> | ||
# Unai Martinez-Corral | ||
# | ||
# Copyright 2020-2021 Unai Martinez-Corral <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set -e | ||
|
||
cd $(dirname "$0") | ||
|
||
./_tree.sh | ||
|
||
file /usr/local/bin/nextpnr-generic | ||
|
||
./_todo.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/sh | ||
|
||
# Authors: | ||
# Sebastian Birke <[email protected]> | ||
# Unai Martinez-Corral | ||
# | ||
# Copyright 2020-2021 Unai Martinez-Corral <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
set -e | ||
|
||
cd $(dirname "$0") | ||
|
||
./_tree.sh | ||
|
||
file /usr/local/bin/nextpnr-ice40 | ||
|
||
./_todo.sh |