19 Commits

Author SHA1 Message Date
Readon
144470e854 Merge aef775ddf1 into d7575b9a5d 2024-09-04 15:19:29 +08:00
Dolu1990
d7575b9a5d Merge pull request #41 from cheungxi/master
upgrade scala version to 2.13.14
2024-09-03 17:53:48 +02:00
Zhang Xi
c2950be884 upgrade scala version to 2.13.14 2024-09-02 17:50:22 +08:00
Dolu1990
8456715b1c SpinalHDL 1.10.2a 2024-07-04 10:10:06 +02:00
Dolu1990
4b7dfe2d2b SpinalHDL 1.10.2 2024-06-13 11:12:43 +02:00
Dolu1990
3b84555158 SpinalHDL 1.10.1 2024-02-01 10:35:36 +01:00
Dolu1990
51249d4c6e SpinalHDL 1.10.0 2024-01-04 10:10:33 +01:00
Dolu1990
17607424ab Merge pull request #36 from IanBoyanZhang/patch-1
Fix typo in README
2023-11-06 11:46:07 +01:00
Ian Zhang
f3256ed4e1 Fix typo in README 2023-11-04 16:35:54 -07:00
Dolu1990
766b80b3f1 SpinalHDL 1.9.4 2023-11-01 09:41:06 +01:00
Dolu1990
f47ac2f65f SpinalHDL 1.9.3 2023-08-16 10:01:33 +02:00
Dolu1990
9fe5ded40a SpinalHDL 1.9.0 for build.sc too <3 2023-07-21 17:46:38 +02:00
Dolu1990
2bf3acd857 SpinalHDL 1.9.0 2023-07-21 17:42:13 +02:00
Yindong Xiao
aef775ddf1 fix missing command of git clone. 2023-04-16 00:52:24 +08:00
Yindong Xiao
a6773349ee use mill the same version as spinalhdl. 2023-04-16 00:49:05 +08:00
Yindong Xiao
9094b6ce2a generate images that support template compiling. 2023-04-16 00:48:40 +08:00
Dolu1990
a4eb1e65ef SpinalHDL 1.8.1 2023-03-27 09:57:17 +02:00
Dolu1990
88fb4a7f49 SpinalHDL 1.8.0 2022-12-05 20:26:59 +01:00
Dolu1990
950e9c2c72 Merge pull request #27 from SpinalHDL/25-readme-pointing-to-getting-started-from-rtd
Readme pointing to Getting started from RTD
2022-11-30 18:39:16 +01:00
6 changed files with 59 additions and 6 deletions

10
.github/Dockerfile vendored Normal file
View File

@@ -0,0 +1,10 @@
FROM ghcr.io/readon/spinalhdl:master
ARG JAVA_EXTRA_OPTS="-Xmx2g -Xms2g"
ENV JAVA_OPTS="${JAVA_OPTS} ${JAVA_EXTRA_OPTS}"
RUN git clone https://github.com/SpinalHDL/SpinalTemplateSbt.git && \
cd SpinalTemplateSbt && \
git submodule update --init --recursive && \
sbt compile && \
mill _.compile && \
cd .. && rm -rf SpinalTemplateSbt

43
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,43 @@
name: Build and Push Docker Image
on:
push:
branches:
- master
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: .github/Dockerfile
push: true
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}

View File

@@ -1 +1 @@
0.9.8
0.10.9

View File

@@ -13,7 +13,7 @@ More specifically:
* instructions to get this repository locally are available in the [Create a SpinalHDL project](https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Getting%20Started/Install%20and%20setup.html#create-a-spinalhdl-project) section.
### TL;DR Things have arleady been set up in my environment, how do I run things to try SpinalHDL?
### TL;DR Things have already been set up in my environment, how do I run things to try SpinalHDL?
Once in the `SpinalTemplateSbt` directory, when tools are installed, the commands below can be run to use `sbt`.

View File

@@ -1,8 +1,8 @@
ThisBuild / version := "1.0"
ThisBuild / scalaVersion := "2.12.16"
ThisBuild / scalaVersion := "2.13.14"
ThisBuild / organization := "org.example"
val spinalVersion = "1.7.3"
val spinalVersion = "1.10.2a"
val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion
val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion
val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion)

View File

@@ -1,9 +1,9 @@
import mill._, scalalib._
val spinalVersion = "1.7.3"
val spinalVersion = "1.10.2a"
object projectname extends SbtModule {
def scalaVersion = "2.12.16"
def scalaVersion = "2.13.14"
override def millSourcePath = os.pwd
def sources = T.sources(
millSourcePath / "hw" / "spinal"